package com.scap.dfs.model;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the ORDER_ITEM database table.
 * 
 */
@Entity
@Table(name="ORDER_ITEM")
@NamedQuery(name="OrderItem.findAll", query="SELECT o FROM OrderItem o")
public class OrderItem implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private OrderItemPK id;

	@Column(name="ACCOUNT_CODE")
	private String accountCode;

	@Column(name="ACTIVE")
	private String active;

	@Column(name="DESCRIPTION_ENG")
	private String descriptionEng;

	@Column(name="DESCRIPTION_THAI")
	private String descriptionThai;

	@Column(name="EXCLUDE_TREATMENT")
	private String excludeTreatment;

	@Column(name="HANDICRAFT")
	private BigDecimal handicraft;

	@Column(name="IS_ALLOC_FULL_TAX")
	private String isAllocFullTax;

	@Column(name="IS_COMPUTE")
	private String isCompute;

	@Column(name="IS_GUARANTEE")
	private String isGuarantee;

	@Column(name="ORDER_ITEM_CATEGORY_CODE")
	private String orderItemCategoryCode;

	@Column(name="PAYMENT_TIME")
	private String paymentTime;

	@Column(name="TAX_TYPE_CODE")
	private String taxTypeCode;

	@Column(name="UPDATE_DATE")
	private String updateDate;

	@Column(name="UPDATE_TIME")
	private String updateTime;

	@Column(name="USER_ID")
	private String userId;

	public OrderItem() {
	}

	public OrderItemPK getId() {
		return this.id;
	}

	public void setId(OrderItemPK id) {
		this.id = id;
	}

	public String getAccountCode() {
		return this.accountCode;
	}

	public void setAccountCode(String accountCode) {
		this.accountCode = accountCode;
	}

	public String getActive() {
		return this.active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public String getDescriptionEng() {
		return this.descriptionEng;
	}

	public void setDescriptionEng(String descriptionEng) {
		this.descriptionEng = descriptionEng;
	}

	public String getDescriptionThai() {
		return this.descriptionThai;
	}

	public void setDescriptionThai(String descriptionThai) {
		this.descriptionThai = descriptionThai;
	}

	public String getExcludeTreatment() {
		return this.excludeTreatment;
	}

	public void setExcludeTreatment(String excludeTreatment) {
		this.excludeTreatment = excludeTreatment;
	}

	public BigDecimal getHandicraft() {
		return this.handicraft;
	}

	public void setHandicraft(BigDecimal handicraft) {
		this.handicraft = handicraft;
	}

	public String getIsAllocFullTax() {
		return this.isAllocFullTax;
	}

	public void setIsAllocFullTax(String isAllocFullTax) {
		this.isAllocFullTax = isAllocFullTax;
	}

	public String getIsCompute() {
		return this.isCompute;
	}

	public void setIsCompute(String isCompute) {
		this.isCompute = isCompute;
	}

	public String getIsGuarantee() {
		return this.isGuarantee;
	}

	public void setIsGuarantee(String isGuarantee) {
		this.isGuarantee = isGuarantee;
	}

	public String getOrderItemCategoryCode() {
		return this.orderItemCategoryCode;
	}

	public void setOrderItemCategoryCode(String orderItemCategoryCode) {
		this.orderItemCategoryCode = orderItemCategoryCode;
	}

	public String getPaymentTime() {
		return this.paymentTime;
	}

	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}

	public String getTaxTypeCode() {
		return this.taxTypeCode;
	}

	public void setTaxTypeCode(String taxTypeCode) {
		this.taxTypeCode = taxTypeCode;
	}

	public String getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}